9f1a9b
@@ -284,15 +284,10 @@
public int execute(DriverContext driverContext) {
         JSONObject jsonDependencies = getJSONDependencies(work);
         out.print(jsonDependencies);
       } else {
-        if (work.getDependency()) {
-          JSONObject jsonDependencies = getJSONDependencies(work);
-          out.print(jsonDependencies);
-        } else {
-          JSONObject jsonPlan = getJSONPlan(out, work);
-          if (work.isFormatted()) {
-            out.print(jsonPlan);
-          }
-        }
+	JSONObject jsonPlan = getJSONPlan(out, work);
+	if (work.isFormatted()) {
+	  out.print(jsonPlan);
+	}
       }
 
       out.close();
